package com.intgrt.manager.service;
import java.util.List;

import com.alibaba.fastjson.JSONArray;
import com.intgrt.manager.entity.SysRole;
import com.intgrt.manager.midentity.CombTree;
import com.intgrt.manager.service.base.BaseService;

public interface SysRoleService extends BaseService {

	public String getList(SysRole entity);

	public String saveEntity(SysRole entity);
	
	public String editEntity(SysRole entity);
	
	public String delEntity(String ids);
	
	public JSONArray getAuthTree(int roleid);
	
	public List<String> roleAuth(String roleid);
	
	public String saveAuth(String roleid, String nodes);
	
	public List<CombTree> getCombTree(String pid, String orgid);

}